package jmu.cze.mapper;

import jmu.cze.pojo.TicketType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TicketTypeMapper {
    int deleteByID(Integer ticketTypeID);

    int insert(TicketType ticketType);

    TicketType selectByID(Integer ticketTypeID);

    List<TicketType> selectByOnFlightID(Integer onFlightID);

    int update(TicketType ticketType);
}